package com.example.whltest.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.tomcat.jni.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
@Api(value = "测试一下")
public class TestController {
 
 
    @GetMapping("/userinfo")
    @ApiOperation("获取用户列表信息")
    public User getUserInfo(){
 
        User user = new User();
 
        return user;
    }
}